#!/bin/bash

#=======================================================================
# push-annex-sunbase
# File ID: a729a2de-e5f1-11e3-9bb4-c80aa9e67bbd
# Push all annexes to sunbase
# License: GNU General Public License version 2 or later.
#=======================================================================

annex-cmd -g -e 'git remote add sunbase $GR/annex-$(basename $(pwd)).git; git fetch --all --prune; git dangling; git push --all sunbase; git dangling -D; git remote rm sunbase'
